package com.nbcio.modules.estar.in.service;

import com.nbcio.modules.estar.in.entity.ErpInB;
import com.nbcio.modules.estar.in.entity.ErpIn;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 入库单
 * @Author: nbacheng
 * @Date:   2024-04-02
 * @Version: V1.0
 */
public interface IErpInService extends IService<ErpIn> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(ErpIn erpIn,List<ErpInB> erpInBList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(ErpIn erpIn,List<ErpInB> erpInBList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
